package com.beiye.drivertransport.bean;

import java.util.List;

public class DangerDriveLogBean {

    /**
     * result : true
     * data : null
     * msg : 操作成功
     * rows : [{"sn":21,"uvteeSn":1791,"startDate":1620715271000,"stopDate":1620715691000,"dutyDriver":null,"actualLoad":3,"fromAddr":"开始","toAddr":"结束","driveLength":7}]
     * total : null
     * code : 0
     */

    private boolean result;
    private Object data;
    private String msg;
    private Object total;
    private int code;
    private List<RowsBean> rows;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * sn : 21
         * uvteeSn : 1791
         * startDate : 1620715271000
         * stopDate : 1620715691000
         * dutyDriver : null
         * actualLoad : 3
         * fromAddr : 开始
         * toAddr : 结束
         * driveLength : 7
         */

        private int sn;
        private int uvteeSn;
        private long startDate;
        private long stopDate;
        private Object dutyDriver;
        private int actualLoad;
        private String fromAddr;
        private String toAddr;
        private int driveLength;

        public int getSn() {
            return sn;
        }

        public void setSn(int sn) {
            this.sn = sn;
        }

        public int getUvteeSn() {
            return uvteeSn;
        }

        public void setUvteeSn(int uvteeSn) {
            this.uvteeSn = uvteeSn;
        }

        public long getStartDate() {
            return startDate;
        }

        public void setStartDate(long startDate) {
            this.startDate = startDate;
        }

        public long getStopDate() {
            return stopDate;
        }

        public void setStopDate(long stopDate) {
            this.stopDate = stopDate;
        }

        public Object getDutyDriver() {
            return dutyDriver;
        }

        public void setDutyDriver(Object dutyDriver) {
            this.dutyDriver = dutyDriver;
        }

        public int getActualLoad() {
            return actualLoad;
        }

        public void setActualLoad(int actualLoad) {
            this.actualLoad = actualLoad;
        }

        public String getFromAddr() {
            return fromAddr;
        }

        public void setFromAddr(String fromAddr) {
            this.fromAddr = fromAddr;
        }

        public String getToAddr() {
            return toAddr;
        }

        public void setToAddr(String toAddr) {
            this.toAddr = toAddr;
        }

        public int getDriveLength() {
            return driveLength;
        }

        public void setDriveLength(int driveLength) {
            this.driveLength = driveLength;
        }
    }
}
